-
Notifications
You must be signed in to change notification settings - Fork 5.4k
feat: Add non-navigable alert modals #37425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
626d912 to
9be8500
Compare
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations (1 files, +1 -0)
|
2803e7e to
32e0c24
Compare
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [32e0c24]
UI Startup Metrics (1272 ± 84 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
32e0c24 to
052c549
Compare
Builds ready [052c549]
UI Startup Metrics (1293 ± 93 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
052c549 to
962e711
Compare
Builds ready [962e711]
UI Startup Metrics (1294 ± 120 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [22c7214]
UI Startup Metrics (1290 ± 123 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Introduces a new optional alert property to hide navigation for this alert.
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
hide-navigation-for-alerts.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Adds
hideFromAlertNavigationto alerts and updates hooks/modal to skip these in navigation, with tests and usage updates.hideFromAlertNavigationtoAlert.useAlerts):navigableAlerts,navigableFieldAlerts,navigableGeneralAlerts, andgetNavigableFieldAlerts, excluding alerts withhideFromAlertNavigation.alertKeywith robust syncing/fallback logic.navigable*alerts; hide nav controls if current alert setshideFromAlertNavigationor when skipping is requested.onFinalAcknowledgeClick(no cycling).selectedAlertonce; passskipAlertNavigationbased onhideFromAlertNavigation.hideFromAlertNavigation: true.Written by Cursor Bugbot for commit 22c7214. This will update automatically on new commits. Configure here.